﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="EditWebsite.aspx.cs" Inherits="NJL.WebManage.SystemAdmin.EditWebsite" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function check() {
            var txtName = document.getElementById("<%=txtName.ClientID %>").value;
            if (txtName == "") {
                alert("请输入站点名称");
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
<div class="gray_bd">
        <div class="table_title">
            站点管理-编辑站点</div>
        <div class="pad5px">
            <table align="center" cellspacing="0" style="width: 100%">
                <tr>
                 <tr>
                    <td style="width: 120px; text-align: right;">
                        代码:
                    </td>
                    <td>
                        <asp:TextBox ID="txtCode" runat="server" Width="400px" MaxLength="10"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <td style="width: 120px; text-align: right;">
                        名称:
                    </td>
                    <td>
                        <asp:TextBox ID="txtName" runat="server" Width="400px" MaxLength="10"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                 <tr>
                    <td style="width: 120px; text-align: right;">
                        域名:
                    </td>
                    <td>
                        <asp:TextBox ID="txtDomain" runat="server" Width="400px" MaxLength="100"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        网站标题
                    </td>
                    <td>
                        <asp:TextBox ID="txtTitle" runat="server" Width="100%" MaxLength="100"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        关键词
                    </td>
                    <td>
                        <asp:TextBox ID="txtKeywords" runat="server" Width="100%" MaxLength="100"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                  <tr>
                    <td style="width: 120px; text-align: right;">
                        描述
                    </td>
                    <td>
                        <asp:TextBox ID="txtDesc" runat="server" Width="100%" MaxLength="100"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        负责人
                    </td>
                    <td>
                        <asp:TextBox ID="txtAdmin" runat="server" MaxLength="25"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        网站统计
                    </td>
                    <td>
                        <asp:TextBox ID="txtInsertCode" runat="server" TextMode="MultiLine" Width="100%" Height="60px" MaxLength="2000"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        联系人
                    </td>
                    <td>
                        <asp:TextBox ID="txtContact" runat="server" MaxLength="25"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        联系人电话
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactTel" runat="server" MaxLength="25"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        联系人QQ
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactQQ" runat="server" MaxLength="25"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        联系人邮箱
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactEmail" runat="server" MaxLength="25"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; text-align: right;">
                        联系简介
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactIntro" runat="server" TextMode="MultiLine" Width="100%" Height="60px" MaxLength="500"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="提交" OnClientClick="return check()" /> <input
                            id="Button1" type="button" value="返回" onclick="location.href='WebsiteManage.aspx'" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
